package com.itheima.health.dao;

import com.itheima.health.pojo.CheckGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *套餐和检查组关联信息
 */
@Mapper
public interface SetmealCheckGroupDao {
    /**
     *  查询和套餐关联的检查组id
     */
    @Select("select checkgroup_id from t_setmeal_checkgroup where setmeal_id=#{id}")
    List<Integer> seleteById(Integer id);
}
